﻿using FruitVentDesign.Enums;
using FruitVentDesign.Utils;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;

namespace FVEchartsDemo
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        public ThemeKind CurrenTheme { get; set; }

        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);
            switch (FruitVentDesign.Configurations.Cinfiguration.ThemeColor)
            {
                case "Blue":
                    ThemeAssist.ChangeTheme(ThemeKind.Blue);
                    CurrenTheme = ThemeKind.Blue;
                    break;
                default:
                    break;
            }
        }
    }
}
